package edu.biwu.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Account {
    private Integer id;
    private String name;
    private Double money;

    public Account(String name,Double money) {
        this.name = name;
        this.money = money;
    }
}
